package TryGame;

import java.awt.Graphics;
import java.awt.Image;
import java.awt.image.BufferedImage;

import javax.imageio.ImageIO;

public class Imags {
	private static BufferedImage ima;
	public int x1=40,x2=40,x3=40,x4=40,y1=40,y2=40,y3=40,y4=40;
	static {
		try {
			Imags.ima = ImageIO.read(Imags.class.getResource("cities.png"));
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	
	public void paint(Graphics g) {
		g.drawImage(Imags.ima,x1, y1, x2, y2, x3, y3, x4, y4, null);
	}

}
